package com.sumansoul.photodemo;


import android.app.Application;
import android.content.Context;



/**
 * 主工程
 * Created by lyy
 */
public class BaseApplication extends Application {
    private static BaseApplication mInstance;
    public static Context mContext = null;
    public static String device="";

    @Override
    public void onCreate() {
        super.onCreate();
        mInstance = this;
        mContext = this;


    }


    public static Context getContext() {
        return mContext;
    }

    public static BaseApplication getInstance() {
        if (null == mInstance) {
            mInstance = new BaseApplication();
        }
        return mInstance;
    }


}
